package DP.builder.car.builder.impl;

import DP.builder.car.product.impl.BenzModel;
import DP.builder.car.product.CarModel;
import DP.builder.car.builder.CarBuilder;

import java.util.ArrayList;

/**
 * @author msi
 * Benz 组装者
 */
public class BenzBuilder extends CarBuilder {

    private BenzModel benzModel=new BenzModel();

    @Override
    public void setSequence(ArrayList<String> sequence) {
        this.benzModel.setSequence(sequence);
    }

    @Override
    public CarModel getCarModel() {
        return this.benzModel;
    }
}
